From: Jasper St. Pierre Date: Thu, 14 Feb 2013 19:35:01 +0000 (-0500) Subject: searchDisplay: Make renderResults private X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4097 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9c94e9813c0996997285006e8d1eeb9057c06afa;p=gnome-shell.git searchDisplay: Make renderResults private There's no need to call this from outside now. https://bugzilla.gnome.org/show_bug.cgi?id=693836 --- diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js index 8f8ccd49b..d7831a403 100644 --- a/js/ui/searchDisplay.js +++ b/js/ui/searchDisplay.js @@ -226,7 +226,7 @@ const SearchResultsBase = new Lang.Class({ // content while filling in the results. this.actor.hide(); - this.renderResults(metas); + this._renderResults(metas); this._setMoreIconVisible(this.hasMoreResults() && this.provider.canLaunchSearch); @@ -279,7 +279,7 @@ const ListSearchResults = new Lang.Class({ return this._content.get_n_children(); }, - renderResults: function(metas) { + _renderResults: function(metas) { for (let i = 0; i < metas.length; i++) { let display = new ListSearchResult(this.provider, metas[i], this._terms); display.actor.connect('key-focus-in', Lang.bind(this, this._keyFocusIn)); @@ -324,7 +324,7 @@ const GridSearchResults = new Lang.Class({ return this._grid.visibleItemsCount(); }, - renderResults: function(metas) { + _renderResults: function(metas) { for (let i = 0; i < metas.length; i++) { let display = new GridSearchResult(this.provider, metas[i], this._terms); display.actor.connect('key-focus-in', Lang.bind(this, this._keyFocusIn));